<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Update File</title>
</head>

<body>

    <div>
        <!-- <input type="file" webkitdirectory></input>
        <button id="upload-btn" type="button">upload</button> -->
       <input type="text" id="username" name="username" />
        <input type="password" id="password" name="password" /> 
        <!-- <button id="btnText" onclick="btnClick('./proxy.html')">BTN</button>  -->
        <!-- <form id="theForm" action="http://www.bing.com" method="post">
            <input type="hidden" id="hiddenUsername" name="username" />
            <input type="hidden" id="hiddenPassword" name="password" />
            <input type="submit" value="Login" />
        </form> -->
        <!-- <asp:TextBox id="tb2" TextMode="password" runat="server" /> -->

        <div style="display: none;">
            <input type="text" autocomplete="new-password" />
            <input type="password" autocomplete="new-password" />
        </div>
    
        <asp:TextBox autocomplete="new-password" id="txtPassword" TextMode="Password" runat="server" width="143px" ></asp:TextBox>
    
    </div>
    <script src="./js/jquery-3.4.1.js"></script>
    <script type="text/javascript" language="JavaScript">
        // $("#theForm").submit(function() {
        //   $("#hiddenUsername").val($("#username").val());
        //   $("#hiddenPassword").val($("#password").val());
        // });
        // $("#username,#password").keypress(function(e) {
        //   if (e.which == 13) {
        //     $("#theForm").submit();
        //   }
        // });
        // }
        function   btnClick(html) {
            console.log('open')
            window.open(html, '_self')
        }
    </script>
    <!-- <script>
        var files = [];
        $(document).ready(function () {
            $("input").change(function () {
                files = this.files;
            });
        });
        $("#upload-btn").click(function () {
            var fd = new FormData();
            for (var i = 0; i < files.length; i++) {
                fd.append("file", files[i]);
            }
            $.ajax({
                url: "/upload/",
                method: "POST",
                data: fd,
                contentType: false,
                processData: false,
                cache: false,
                success: function (data) {
                    console.log(data);
                }
            });
        });

    </script> -->
</body>

</html>